﻿using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace pTools.ChildWin
{
    public partial class GongYi : Form
    {
        string plCode="", ptCode = "";
        public GongYi(string plcode,string ptcode)
        {
            InitializeComponent();
            plCode = plcode;
            ptCode = ptcode;
        }

        private void GongYi_Load(object sender, EventArgs e)
        {
            try
            {
                this.Text = "生产工艺";
                tbPlanCode.Text = plCode;
                tbPlanCode.ReadOnly = true;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }

        private void btnClose_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            this.Close();
        }
    }
}
